#pragma once

#ifndef BAS_PATTERN_H
#define BAS_PATTERN_H

#include "ICPUtility.h"

class SchLeg;
class BasPattern {
  private:
    int _id;
    static int _countId;

    string _strBgnDate;
    string _strEndDate;
    time_t _bgnDate;
    time_t _endDate;
    string _weeks;
    string _voyage;

  public:
    BasPattern(time_t bgnDate, time_t endDate, string weeks, string voyage);
    ~BasPattern();

    time_t getBgnDate() { return _bgnDate; }
    time_t getEndDate() { return _endDate; }
    string getWeeks() { return _weeks; }
    string getVoyage() { return _voyage; }
    void print();
};

#endif BAS_PATTERN_H